﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Enter.DataProxy.DbConnector
{
	interface IParamCollectionProvider
	{
		/// <summary>
		/// 创建一个SQL语句参数集合
		/// </summary>
		/// <returns>SQL语句参数集合</returns>
		ParameterCollection CreateParamCollection();
		/// <summary>
		/// 创建一个SQL语句参数集合
		/// </summary>
		/// <param name="capacity">集合每次分配空间的增量大小</param>
		/// <returns>SQL语句参数集合</returns>
		ParameterCollection CreateParamCollection(int capacity);
	}
}
